package com.daka.dao;

import com.daka.entity.UserPassportApplyOrder;
import com.daka.mybatis.SQLMapper;
import com.daka.vo.request.PassportRequestVo;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by yangx
 * CreateTime: 2016/10/24 19:48
 */
@Repository(value = "userPassportApplyOrderMapper")
@SQLMapper
public interface UserPassportApplyOrderMapper {

    int insert(UserPassportApplyOrder record);

    UserPassportApplyOrder selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(UserPassportApplyOrder record);

    List<UserPassportApplyOrder> selectByStatement(PassportRequestVo record);
    int selectByStatementCount(PassportRequestVo record);

    List<UserPassportApplyOrder> selectPageByDate(PassportRequestVo record);
    int selectPageByDateCount(PassportRequestVo record);

    List<UserPassportApplyOrder> selectPageByAddress(PassportRequestVo record);
    int selectPageByAddressCount(PassportRequestVo record);

    List<UserPassportApplyOrder> selectDetByOrder(PassportRequestVo record);
}
